
{{ Form::open(['url'=>isset($postUrl) ? $postUrl : '', 'method'=>'post', 'class'=>'form-horizontal ajax-form']) }}
    <div class="modal-header">
        <button type="button" class="close edit-close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">{{ isset($metaTitle) ? $metaTitle : '' }}</h4>
    </div>
    <div class="modal-body">
        @yield('content')
    </div>
    <div class="modal-footer">
        <input type="hidden" name="action" value="{{ isset($action) ? $action : '' }}">
        <button type="button" class="btn btn-default pull-left edit-close" data-dismiss="modal">Close</button>
        <button type="submit" class="btn btn-primary">Save changes</button>
    </div>
{!! Form::close() !!}
@yield('script')
<!--
<link rel="stylesheet" href="{{ asset('plugins/iCheck/square/blue.css') }}">
<script src="{{ asset('plugins/iCheck/icheck.min.js') }}"></script>
<script>
    $(function () {
        $('input').iCheck({
            checkboxClass: 'icheckbox_square-blue',
            radioClass: 'iradio_square-blue',
            increaseArea: '20%' // optional
        });
    });
</script>
-->

